package com.yc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yc.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 课程表;
 * @date : 2023-6-28
 */
@Data
@ApiModel(value = "课程表",description = "")
@TableName(value ="schedule" , autoResultMap = true)
public class Schedule extends BaseEntity implements Serializable,Cloneable{
    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id ;
    /** 老师Id */
    @ApiModelProperty(name = "老师Id",notes = "")
    private Integer teacherid ;
    /** 周次 */
    @ApiModelProperty(name = "周次",notes = "")
    private Integer week ;
    /** 单双周 */
    @ApiModelProperty(name = "单双周",notes = "")
    private String oddevenweek ;
    /** 班级Id(可能两个班一起) */
    @ApiModelProperty(name = "班级Id(可能两个班一起)",notes = "")
    private String classid ;
    /** 教室 */
    @ApiModelProperty(name = "教室",notes = "")
    private String classroom ;
    /** 课程名 */
    @ApiModelProperty(name = "课程名",notes = "")
    private String coursename ;
    /** 具体节次 */
    @ApiModelProperty(name = "具体节次",notes = "")
    private String classtime ;
    /** 课表颜色(程序随机/除去黑色和白色) */
    @ApiModelProperty(name = "课表颜色(程序随机/除去黑色和白色)",notes = "")
    private String colour ;

    @ApiModelProperty(name = "上课的具体时间",notes = "")
    private String date;

    @ApiModelProperty(name = "修改人",notes = "")
    private String create_by;

    @ApiModelProperty(name = "更新人",notes = "")
    private String update_by;
    @ApiModelProperty(name = "老师名称",notes = "")
    @TableField(exist = false)
    private String nickname;
    @ApiModelProperty(name = "专业名称",notes = "")
    @TableField(exist = false)
    private String mname;
    @ApiModelProperty(name = "班级名称",notes = "")
    @TableField(exist = false)
    private String cname;



    @ApiModelProperty(name = "添加和修改的标志",notes = "")
    @TableField(exist = false)
    private String flag;

}
